//
//  TJUser.h
//  TJSinaWeiBo_OC
//
//  Created by 唐后能 on 16/4/28.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TJUser : NSObject

// 用户id.
@property (nonatomic, assign) int *id;
// 用户昵称.
@property (nonatomic, copy) NSString *screen_name;
// 用户头像地址.
@property (nonatomic, copy) NSString *profile_image_url;
// 用户注册时间.
@property (nonatomic, copy) NSString *created_at;
// 用户认证等级.
@property (nonatomic, assign) int verified_level;
// 认证图片-->供外界直接调用.
@property (nonatomic, strong) UIImage *verifiedImage;
// 会员等级.
@property (nonatomic, assign) int mbrank;
// 会员等级图片-->供外界直接调用.
@property (nonatomic, strong) UIImage *mbrankImage;

// 字典转模型的方法.
-(instancetype)initWithDict:(NSDictionary*)dict;
+(instancetype)userWithDict:(NSDictionary*)dict;

@end
